package org.arl.modem.codec;

/**
 * 
 * Name: Srinivasan Arvindh RegNo: A0076872R
 */
public interface RatelessCodec {

   public void writePacket(byte[] packet);

   public boolean packetAvailable();

   public void readPacket();

   public int getCodedPacketSize();

   public CodecPacket encodeMessage();

   public void decodeMessage(CodecPacket packet);

   public int numPacketsReceived();

   public int readMessage();

   public void writeMessage();

   public byte[] getData();

}
